﻿#region Copyright and License
/*==============================================================================
 *  Copyright (c) cndotnet.org Corporation.  All rights reserved.
 * ===============================================================================
 * This code and information is provided "as is" without warranty of any kind,
 * either expressed or implied, including but not limited to the implied warranties
 * of merchantability and fitness for a particular purpose.
 * ===============================================================================
 * Licensed under the GNU General Public License (GPL) v2
 * http://www.cndotnet.org/ucenter
 * ==============================================================================*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UCenter.Models;

namespace UCenter.DataProvider
{
    /// <summary>
    /// interface of FriendGroupRepository
    /// </summary>
    public interface  IFriendGroupRepository: IRepository<FriendGroup>
    {
        #region Query Methods
        #endregion

        #region Insert Methods     
        #endregion

        #region Delete Methods
        /// <summary>
        /// delete friend group by id
        /// </summary>
        /// <param name="id">group id to be deleted</param>
        void Delete(int id);
        #endregion

        #region Update Methods
        /// <summary>
        /// update friend group info
        /// </summary>
        /// <param name="group">group entry to be updated</param>
        void Update(FriendGroup group);
        #endregion
    }
}
